﻿
/*
=============================================================================
CreatedTime:2011-10-28
Description:Tb_Message三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class Tb_Message
	{
		
		//不带数的构造方法
		public Tb_Message()
		{
			
		}
		//带参构造方法
		public Tb_Message(int _id ,string _name ,string _tel ,string _email ,string _mtype ,string _mcontent ,string _hcontent ,string _hname)
		{
			this._id=_id;

			this._name=_name;

			this._tel=_tel;

			this._email=_email;

			this._mtype=_mtype;

			this._mcontent=_mcontent;

			this._hcontent=_hcontent;

			this._hname=_hname;

		}
		#region Tb_Message Filed
		private int _id;
		public int Id
		{
		get { return _id; }
		set { this._id = value; }
		}
		
		private  string _name=String.Empty;
		public string Name
		{
			get { return this._name;}
			set { this._name = value; }
		}

		private  string _tel=String.Empty;
		public string Tel
		{
			get { return this._tel;}
			set { this._tel = value; }
		}

		private  string _email=String.Empty;
		public string Email
		{
			get { return this._email;}
			set { this._email = value; }
		}

		private  string _mtype=String.Empty;
		public string Mtype
		{
			get { return this._mtype;}
			set { this._mtype = value; }
		}

		private  string _mcontent=String.Empty;
		public string Mcontent
		{
			get { return this._mcontent;}
			set { this._mcontent = value; }
		}

		private  string _hcontent=String.Empty;
		public string Hcontent
		{
			get { return this._hcontent;}
			set { this._hcontent = value; }
		}

		private  string _hname=String.Empty;
		public string Hname
		{
			get { return this._hname;}
			set { this._hname = value; }
		}
		#endregion
	}
}

